package com.feiyu.blog.entity;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author tang ming
 * @since 2021-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Picture implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 资源所在分组
     */
    private String groupName;

    /**
     * 在分组路径
     */
    private String path;

    /**
     * 资源名称
     */
    private String name;

    /**
     * 上传时间
     */
    private Date uploadTime;

    /**
     * 是否删除
     */
    private Boolean deleted;


}
